package org.example.completed.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.example.completed.domain.ActivityReservation;

import java.util.List;

/**
 * <p>
 * 活动预约表 服务类
 * </p>
 *
 * @author ${author}
 * @since 2025-04-11
 */
public interface ActivityReservationService extends IService<ActivityReservation> {

    ActivityReservation getById(Long id);
    List<ActivityReservation> listAll();
    boolean saveReservation(ActivityReservation reservation);

    boolean signUp(String activityId, String userId, String phone);

    List<ActivityReservation> listByActivityId(String activityId);
}
